package com.jabo.wechatmomentsdemo.http;


import com.jabo.wechatmomentsdemo.model.bean.TweetBean;
import com.jabo.wechatmomentsdemo.model.bean.UserInfo;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;

/**
 * @anthor JZheng3
 * @Time: 2020/9/4
 */
public interface ApiService {

    @GET("http://thoughtworks-ios.herokuapp.com/user/jsmith")
    Call<UserInfo> getUserInfo();

    @GET("http://thoughtworks-ios.herokuapp.com/user/jsmith/tweets")
    Call<List<TweetBean>> getTweetsList();

}
